package com.techfengs.chapter03.homework;

public class Homework02 {
  public static void main (String[] args) {
    char n = '\n';
    char t = '\t';
    char r = '\r';
    char l = '\\';
    char a1 = '1';
    char a2 = '2';
    char a3 = '3';
    System.out.println("输出字符\\n，打印输出：");
    System.out.println("" + n + "\\n");
    System.out.println("输出字符\\n，\\t，打印输出：");
    System.out.println("" + n + t + "\\t");
    System.out.println("输出字符\\n，\\t，\\r，打印输出：");
    System.out.println("" + n + t + r + "\\r");
    System.out.println("输出字符\\n，\\t，\\r，\\\\，1，2，3，打印输出：");
    System.out.println("" + n + t + r + l + a1 + a2 + a3);
  }
}
